package cn.iocoder.yudao.module.jifenyuan.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

// 模块 jifenyuan 错误码区间 [1-050-000-000 ~ 1-051-000-000)
public interface ErrorCodeConstants {
    // ==========  1-050-001-000 房间错误==========
    ErrorCode ROOM_NOT_EXISTS = new ErrorCode(1050001001 , "记分员 房间不存在");
    ErrorCode ROOM_LOG_NOT_EXISTS = new ErrorCode(1050001002, "记分员 房间记录不存在");
    ErrorCode ROOM_USER_BIND_NOT_EXISTS = new ErrorCode(1050001003, "房间与成员绑定不存在");
    ErrorCode WALLET_NOT_EXISTS = new ErrorCode(1050001004, "记分员 钱包不存在");
    ErrorCode WALLET_LOG_NOT_EXISTS = new ErrorCode(1050001005, "记分员 钱包记录不存在");
    ErrorCode ROOM_ALREADY_CREATE = new ErrorCode(1050001006 , "您已创建了房间");
    ErrorCode ROOM_ALREADY_JOIN = new ErrorCode(1050001007 , "您已加入了其他房间，请先退出");
    ErrorCode ROOM_NO_PARTNER = new ErrorCode(1050001008 , "未查找到房间内人员信息");
    ErrorCode ROOM_TRANSFER_NOT_SELF = new ErrorCode(1050001009 , "转账不能转给自己");
    ErrorCode ROOM_STILL_OPEN = new ErrorCode(1050001010 , "房间仍在开放中");
    // ==========  1-050-002-000 钱包错误==========
    ErrorCode WALLET_COIN_NOT_ENOUGH = new ErrorCode(1050002001, "金币余额不足");

    // ========== 查看当前所在房间 1-050-003-000 ==========
    ErrorCode USER_CURRENT_ROOM_NOT_EXISTS = new ErrorCode(1050003001, "查看当前所在房间不存在");
    ErrorCode USER_GENERATE_INVITE_CODE_FAIL = new ErrorCode(1050003002, "生成分享二维码失败");


    // ========== 分享码对应的内容 1-050-004-000 ==========
    ErrorCode SHARE_CODE_NOT_EXISTS = new ErrorCode(1050004001, "分享码对应的内容不存在");

}
